package com.tjbklx1.pattern.factory.demo1;

public class TestApp {

	public static void main(String[] args) {
		AbstractHumanFactory factory = new HumanFactory();
		Human man = factory.createHuman(WhiteMan.class);
		man.getColor();
		man.talk();
	}
}
